package com.ctshk.app.localfun;

import com.ctshk.common.log.aspect.SearchHotWordAspect;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/4/10
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.ctshk.common.web","com.ctshk.common.log","com.ctshk.app.localfun"},
        excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {DataSourceAutoConfiguration.class, SearchHotWordAspect.class}))
@EnableDiscoveryClient
public class AppLocalFunApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppLocalFunApplication.class,args);
    }
}
